<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">头像</label>
            <div class="layui-input-block">
                <img src="{$row.user.avatar_url}" alt="" width="60">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">昵称</label>
            <div class="layui-input-block">
                <input type="text" name="true_name" class="layui-input" lay-verify="required" placeholder="昵称" value="{$row.user.nickname|default=''}" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">手机号码</label>
            <div class="layui-input-block">
                <input type="tel" name="mobile" class="layui-input" lay-verify="required" placeholder="请输入手机号" value="{$row.mobile|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">真实姓名</label>
            <div class="layui-input-block">
                <input type="text" name="true_name" class="layui-input" lay-verify="required" placeholder="请输入团长真实姓名" value="{$row.true_name|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">团员数量</label>
            <div class="layui-input-block">
                <input type="text" name="members" class="layui-input"  placeholder="请输入团员数量" value="{$row.members|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">上级团长id</label>
            <div class="layui-input-block">
                <input type="text" name="pid" class="layui-input" lay-verify="required" placeholder="请输入上级团长id" value="{$row.pid|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">团长地址id</label>
            <div class="layui-input-block">
                <input type="text" name="master_addr_id" class="layui-input" lay-verify="required" placeholder="请输入团长地址id" value="{$row.master_addr_id|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">注册时间</label>
            <div class="layui-input-block">
                <input type="text" name="audit_time" data-date="" data-date-type="datetime" class="layui-input" lay-verify="required" placeholder="请输入审核时间" value="{$row.audit_time|default=''}" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">积分</label>
            <div class="layui-input-block">
                <input type="text" name="integral" class="layui-input"  placeholder="请输入积分" value="{$row.integral|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">销售额</label>
            <div class="layui-input-block">
                <input type="text" name="sales_volume" class="layui-input"  placeholder="请输入销售额度" value="{$row.sales_volume|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否送货上门</label>
            <div class="layui-input-block">
                {if($row.is_delivery == 0)}
                <input type="checkbox" name="is_delivery" checked lay-skin="switch" lay-text="是|否">
                {else}
                <input type="checkbox" name="is_delivery" lay-skin="switch" lay-text="是|否">
                {/if}
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">付款方式</label>
            <div class="layui-input-block">
                {if($row.pay_mode == 0)}
                <input type="radio" name="pay_mode" value="0" title="微信支付" checked>
                {else}
                <input type="radio" name="pay_mode" value="0" title="微信支付">
                {/if}
<!--                <input type="radio" name="pay_mode" value="0" title="微信支付" checked="">-->
<!--                <input type="radio" name="pay_mode" value="1" title="支付宝支付" checked="{$row.pay_mode === 1 ? true : false}">-->
<!--                <input type="radio" name="pay_mode" value="1" title="银联支付" checked="{$row.pay_mode === 2 ? true : false}">-->
<!--                <input type="radio" name="pay_mode" value="1" title="到货付款" checked="{$row.pay_mode === 3 ? true : false}">-->
<!--                <input type="radio" name="pay_mode" value="1" title="余额支付" checked="{$row.pay_mode === 4 ? true : false}">-->
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">配送费</label>
            <div class="layui-input-block">
                <input type="text" name="delivery_fee" class="layui-input" lay-verify="required" placeholder="请输入配送费" value="{$row.delivery_fee|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">审核状态</label>
            <div class="layui-input-block">
                <input type="text" name="audit_status" class="layui-input" lay-verify="required" placeholder="请输入审核状态 0-待审核 1-审核通过 2-审核未通过" value="{$row.audit_status|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">团长状态</label>
            <div class="layui-input-block">
                <input type="text" name="master_status" class="layui-input" lay-verify="required" placeholder="请输入团长状态  0-未启用 1-启用 2-禁用" value="{$row.master_status|default=''}">
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>